package com.bowen.spike.service;

import com.bowen.spike.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bowen.spike.my_enum.Gender;
import jakarta.validation.Valid;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author bowen
 * @since 2025-04-28
 */
public interface IUserService extends IService<User> {

    String login(@Valid User user);

    void register(@Valid User user);

    void changePassword( String password);

    void changeGender(Gender gender);
}
